From 16f2e34d4f1e2172493c375a474397dec8025f87 Mon Sep 17 00:00:00 2001 From: "kaf24@firebug.cl.cam.ac.uk" Date: Thu, 26 Jan 2006 11:31:28 +0100 Subject: [PATCH] Must destroy grant-table maptrack table before pagetables, as the latter hold reference counts that maptrack entries implicitly rely on. Signed-off-by: Keir Fraser --- xen/common/domain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/common/domain.c b/xen/common/domain.c index 881133b7d6..749d7c7fe9 100644 --- a/xen/common/domain.c +++ b/xen/common/domain.c @@ -130,8 +130,8 @@ void domain_kill(struct domain *d) { for_each_vcpu(d, v) sched_rem_domain(v); - domain_relinquish_resources(d); gnttab_release_mappings(d); + domain_relinquish_resources(d); put_domain(d); send_guest_virq(dom0->vcpu[0], VIRQ_DOM_EXC); -- 2.30.2